package com.zed.code.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ChargerinfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ChargerinfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andStationidIsNull() {
            addCriterion("StationId is null");
            return (Criteria) this;
        }

        public Criteria andStationidIsNotNull() {
            addCriterion("StationId is not null");
            return (Criteria) this;
        }

        public Criteria andStationidEqualTo(Integer value) {
            addCriterion("StationId =", value, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidNotEqualTo(Integer value) {
            addCriterion("StationId <>", value, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidGreaterThan(Integer value) {
            addCriterion("StationId >", value, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidGreaterThanOrEqualTo(Integer value) {
            addCriterion("StationId >=", value, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidLessThan(Integer value) {
            addCriterion("StationId <", value, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidLessThanOrEqualTo(Integer value) {
            addCriterion("StationId <=", value, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidIn(List<Integer> values) {
            addCriterion("StationId in", values, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidNotIn(List<Integer> values) {
            addCriterion("StationId not in", values, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidBetween(Integer value1, Integer value2) {
            addCriterion("StationId between", value1, value2, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidNotBetween(Integer value1, Integer value2) {
            addCriterion("StationId not between", value1, value2, "stationid");
            return (Criteria) this;
        }

        public Criteria andDeviceidIsNull() {
            addCriterion("DeviceId is null");
            return (Criteria) this;
        }

        public Criteria andDeviceidIsNotNull() {
            addCriterion("DeviceId is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceidEqualTo(String value) {
            addCriterion("DeviceId =", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidNotEqualTo(String value) {
            addCriterion("DeviceId <>", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidGreaterThan(String value) {
            addCriterion("DeviceId >", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidGreaterThanOrEqualTo(String value) {
            addCriterion("DeviceId >=", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidLessThan(String value) {
            addCriterion("DeviceId <", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidLessThanOrEqualTo(String value) {
            addCriterion("DeviceId <=", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidLike(String value) {
            addCriterion("DeviceId like", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidNotLike(String value) {
            addCriterion("DeviceId not like", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidIn(List<String> values) {
            addCriterion("DeviceId in", values, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidNotIn(List<String> values) {
            addCriterion("DeviceId not in", values, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidBetween(String value1, String value2) {
            addCriterion("DeviceId between", value1, value2, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidNotBetween(String value1, String value2) {
            addCriterion("DeviceId not between", value1, value2, "deviceid");
            return (Criteria) this;
        }

        public Criteria andProductdateIsNull() {
            addCriterion("ProductDate is null");
            return (Criteria) this;
        }

        public Criteria andProductdateIsNotNull() {
            addCriterion("ProductDate is not null");
            return (Criteria) this;
        }

        public Criteria andProductdateEqualTo(String value) {
            addCriterion("ProductDate =", value, "productdate");
            return (Criteria) this;
        }

        public Criteria andProductdateNotEqualTo(String value) {
            addCriterion("ProductDate <>", value, "productdate");
            return (Criteria) this;
        }

        public Criteria andProductdateGreaterThan(String value) {
            addCriterion("ProductDate >", value, "productdate");
            return (Criteria) this;
        }

        public Criteria andProductdateGreaterThanOrEqualTo(String value) {
            addCriterion("ProductDate >=", value, "productdate");
            return (Criteria) this;
        }

        public Criteria andProductdateLessThan(String value) {
            addCriterion("ProductDate <", value, "productdate");
            return (Criteria) this;
        }

        public Criteria andProductdateLessThanOrEqualTo(String value) {
            addCriterion("ProductDate <=", value, "productdate");
            return (Criteria) this;
        }

        public Criteria andProductdateLike(String value) {
            addCriterion("ProductDate like", value, "productdate");
            return (Criteria) this;
        }

        public Criteria andProductdateNotLike(String value) {
            addCriterion("ProductDate not like", value, "productdate");
            return (Criteria) this;
        }

        public Criteria andProductdateIn(List<String> values) {
            addCriterion("ProductDate in", values, "productdate");
            return (Criteria) this;
        }

        public Criteria andProductdateNotIn(List<String> values) {
            addCriterion("ProductDate not in", values, "productdate");
            return (Criteria) this;
        }

        public Criteria andProductdateBetween(String value1, String value2) {
            addCriterion("ProductDate between", value1, value2, "productdate");
            return (Criteria) this;
        }

        public Criteria andProductdateNotBetween(String value1, String value2) {
            addCriterion("ProductDate not between", value1, value2, "productdate");
            return (Criteria) this;
        }

        public Criteria andManufacturerIsNull() {
            addCriterion("Manufacturer is null");
            return (Criteria) this;
        }

        public Criteria andManufacturerIsNotNull() {
            addCriterion("Manufacturer is not null");
            return (Criteria) this;
        }

        public Criteria andManufacturerEqualTo(String value) {
            addCriterion("Manufacturer =", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerNotEqualTo(String value) {
            addCriterion("Manufacturer <>", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerGreaterThan(String value) {
            addCriterion("Manufacturer >", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerGreaterThanOrEqualTo(String value) {
            addCriterion("Manufacturer >=", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerLessThan(String value) {
            addCriterion("Manufacturer <", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerLessThanOrEqualTo(String value) {
            addCriterion("Manufacturer <=", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerLike(String value) {
            addCriterion("Manufacturer like", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerNotLike(String value) {
            addCriterion("Manufacturer not like", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerIn(List<String> values) {
            addCriterion("Manufacturer in", values, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerNotIn(List<String> values) {
            addCriterion("Manufacturer not in", values, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerBetween(String value1, String value2) {
            addCriterion("Manufacturer between", value1, value2, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerNotBetween(String value1, String value2) {
            addCriterion("Manufacturer not between", value1, value2, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andSoftwareversionIsNull() {
            addCriterion("SoftwareVersion is null");
            return (Criteria) this;
        }

        public Criteria andSoftwareversionIsNotNull() {
            addCriterion("SoftwareVersion is not null");
            return (Criteria) this;
        }

        public Criteria andSoftwareversionEqualTo(String value) {
            addCriterion("SoftwareVersion =", value, "softwareversion");
            return (Criteria) this;
        }

        public Criteria andSoftwareversionNotEqualTo(String value) {
            addCriterion("SoftwareVersion <>", value, "softwareversion");
            return (Criteria) this;
        }

        public Criteria andSoftwareversionGreaterThan(String value) {
            addCriterion("SoftwareVersion >", value, "softwareversion");
            return (Criteria) this;
        }

        public Criteria andSoftwareversionGreaterThanOrEqualTo(String value) {
            addCriterion("SoftwareVersion >=", value, "softwareversion");
            return (Criteria) this;
        }

        public Criteria andSoftwareversionLessThan(String value) {
            addCriterion("SoftwareVersion <", value, "softwareversion");
            return (Criteria) this;
        }

        public Criteria andSoftwareversionLessThanOrEqualTo(String value) {
            addCriterion("SoftwareVersion <=", value, "softwareversion");
            return (Criteria) this;
        }

        public Criteria andSoftwareversionLike(String value) {
            addCriterion("SoftwareVersion like", value, "softwareversion");
            return (Criteria) this;
        }

        public Criteria andSoftwareversionNotLike(String value) {
            addCriterion("SoftwareVersion not like", value, "softwareversion");
            return (Criteria) this;
        }

        public Criteria andSoftwareversionIn(List<String> values) {
            addCriterion("SoftwareVersion in", values, "softwareversion");
            return (Criteria) this;
        }

        public Criteria andSoftwareversionNotIn(List<String> values) {
            addCriterion("SoftwareVersion not in", values, "softwareversion");
            return (Criteria) this;
        }

        public Criteria andSoftwareversionBetween(String value1, String value2) {
            addCriterion("SoftwareVersion between", value1, value2, "softwareversion");
            return (Criteria) this;
        }

        public Criteria andSoftwareversionNotBetween(String value1, String value2) {
            addCriterion("SoftwareVersion not between", value1, value2, "softwareversion");
            return (Criteria) this;
        }

        public Criteria andMaxvoltageIsNull() {
            addCriterion("MaxVoltage is null");
            return (Criteria) this;
        }

        public Criteria andMaxvoltageIsNotNull() {
            addCriterion("MaxVoltage is not null");
            return (Criteria) this;
        }

        public Criteria andMaxvoltageEqualTo(String value) {
            addCriterion("MaxVoltage =", value, "maxvoltage");
            return (Criteria) this;
        }

        public Criteria andMaxvoltageNotEqualTo(String value) {
            addCriterion("MaxVoltage <>", value, "maxvoltage");
            return (Criteria) this;
        }

        public Criteria andMaxvoltageGreaterThan(String value) {
            addCriterion("MaxVoltage >", value, "maxvoltage");
            return (Criteria) this;
        }

        public Criteria andMaxvoltageGreaterThanOrEqualTo(String value) {
            addCriterion("MaxVoltage >=", value, "maxvoltage");
            return (Criteria) this;
        }

        public Criteria andMaxvoltageLessThan(String value) {
            addCriterion("MaxVoltage <", value, "maxvoltage");
            return (Criteria) this;
        }

        public Criteria andMaxvoltageLessThanOrEqualTo(String value) {
            addCriterion("MaxVoltage <=", value, "maxvoltage");
            return (Criteria) this;
        }

        public Criteria andMaxvoltageLike(String value) {
            addCriterion("MaxVoltage like", value, "maxvoltage");
            return (Criteria) this;
        }

        public Criteria andMaxvoltageNotLike(String value) {
            addCriterion("MaxVoltage not like", value, "maxvoltage");
            return (Criteria) this;
        }

        public Criteria andMaxvoltageIn(List<String> values) {
            addCriterion("MaxVoltage in", values, "maxvoltage");
            return (Criteria) this;
        }

        public Criteria andMaxvoltageNotIn(List<String> values) {
            addCriterion("MaxVoltage not in", values, "maxvoltage");
            return (Criteria) this;
        }

        public Criteria andMaxvoltageBetween(String value1, String value2) {
            addCriterion("MaxVoltage between", value1, value2, "maxvoltage");
            return (Criteria) this;
        }

        public Criteria andMaxvoltageNotBetween(String value1, String value2) {
            addCriterion("MaxVoltage not between", value1, value2, "maxvoltage");
            return (Criteria) this;
        }

        public Criteria andMinvoltageIsNull() {
            addCriterion("MinVoltage is null");
            return (Criteria) this;
        }

        public Criteria andMinvoltageIsNotNull() {
            addCriterion("MinVoltage is not null");
            return (Criteria) this;
        }

        public Criteria andMinvoltageEqualTo(String value) {
            addCriterion("MinVoltage =", value, "minvoltage");
            return (Criteria) this;
        }

        public Criteria andMinvoltageNotEqualTo(String value) {
            addCriterion("MinVoltage <>", value, "minvoltage");
            return (Criteria) this;
        }

        public Criteria andMinvoltageGreaterThan(String value) {
            addCriterion("MinVoltage >", value, "minvoltage");
            return (Criteria) this;
        }

        public Criteria andMinvoltageGreaterThanOrEqualTo(String value) {
            addCriterion("MinVoltage >=", value, "minvoltage");
            return (Criteria) this;
        }

        public Criteria andMinvoltageLessThan(String value) {
            addCriterion("MinVoltage <", value, "minvoltage");
            return (Criteria) this;
        }

        public Criteria andMinvoltageLessThanOrEqualTo(String value) {
            addCriterion("MinVoltage <=", value, "minvoltage");
            return (Criteria) this;
        }

        public Criteria andMinvoltageLike(String value) {
            addCriterion("MinVoltage like", value, "minvoltage");
            return (Criteria) this;
        }

        public Criteria andMinvoltageNotLike(String value) {
            addCriterion("MinVoltage not like", value, "minvoltage");
            return (Criteria) this;
        }

        public Criteria andMinvoltageIn(List<String> values) {
            addCriterion("MinVoltage in", values, "minvoltage");
            return (Criteria) this;
        }

        public Criteria andMinvoltageNotIn(List<String> values) {
            addCriterion("MinVoltage not in", values, "minvoltage");
            return (Criteria) this;
        }

        public Criteria andMinvoltageBetween(String value1, String value2) {
            addCriterion("MinVoltage between", value1, value2, "minvoltage");
            return (Criteria) this;
        }

        public Criteria andMinvoltageNotBetween(String value1, String value2) {
            addCriterion("MinVoltage not between", value1, value2, "minvoltage");
            return (Criteria) this;
        }

        public Criteria andMaxcurrentIsNull() {
            addCriterion("MaxCurrent is null");
            return (Criteria) this;
        }

        public Criteria andMaxcurrentIsNotNull() {
            addCriterion("MaxCurrent is not null");
            return (Criteria) this;
        }

        public Criteria andMaxcurrentEqualTo(String value) {
            addCriterion("MaxCurrent =", value, "maxcurrent");
            return (Criteria) this;
        }

        public Criteria andMaxcurrentNotEqualTo(String value) {
            addCriterion("MaxCurrent <>", value, "maxcurrent");
            return (Criteria) this;
        }

        public Criteria andMaxcurrentGreaterThan(String value) {
            addCriterion("MaxCurrent >", value, "maxcurrent");
            return (Criteria) this;
        }

        public Criteria andMaxcurrentGreaterThanOrEqualTo(String value) {
            addCriterion("MaxCurrent >=", value, "maxcurrent");
            return (Criteria) this;
        }

        public Criteria andMaxcurrentLessThan(String value) {
            addCriterion("MaxCurrent <", value, "maxcurrent");
            return (Criteria) this;
        }

        public Criteria andMaxcurrentLessThanOrEqualTo(String value) {
            addCriterion("MaxCurrent <=", value, "maxcurrent");
            return (Criteria) this;
        }

        public Criteria andMaxcurrentLike(String value) {
            addCriterion("MaxCurrent like", value, "maxcurrent");
            return (Criteria) this;
        }

        public Criteria andMaxcurrentNotLike(String value) {
            addCriterion("MaxCurrent not like", value, "maxcurrent");
            return (Criteria) this;
        }

        public Criteria andMaxcurrentIn(List<String> values) {
            addCriterion("MaxCurrent in", values, "maxcurrent");
            return (Criteria) this;
        }

        public Criteria andMaxcurrentNotIn(List<String> values) {
            addCriterion("MaxCurrent not in", values, "maxcurrent");
            return (Criteria) this;
        }

        public Criteria andMaxcurrentBetween(String value1, String value2) {
            addCriterion("MaxCurrent between", value1, value2, "maxcurrent");
            return (Criteria) this;
        }

        public Criteria andMaxcurrentNotBetween(String value1, String value2) {
            addCriterion("MaxCurrent not between", value1, value2, "maxcurrent");
            return (Criteria) this;
        }

        public Criteria andPowerIsNull() {
            addCriterion("`Power` is null");
            return (Criteria) this;
        }

        public Criteria andPowerIsNotNull() {
            addCriterion("`Power` is not null");
            return (Criteria) this;
        }

        public Criteria andPowerEqualTo(String value) {
            addCriterion("`Power` =", value, "power");
            return (Criteria) this;
        }

        public Criteria andPowerNotEqualTo(String value) {
            addCriterion("`Power` <>", value, "power");
            return (Criteria) this;
        }

        public Criteria andPowerGreaterThan(String value) {
            addCriterion("`Power` >", value, "power");
            return (Criteria) this;
        }

        public Criteria andPowerGreaterThanOrEqualTo(String value) {
            addCriterion("`Power` >=", value, "power");
            return (Criteria) this;
        }

        public Criteria andPowerLessThan(String value) {
            addCriterion("`Power` <", value, "power");
            return (Criteria) this;
        }

        public Criteria andPowerLessThanOrEqualTo(String value) {
            addCriterion("`Power` <=", value, "power");
            return (Criteria) this;
        }

        public Criteria andPowerLike(String value) {
            addCriterion("`Power` like", value, "power");
            return (Criteria) this;
        }

        public Criteria andPowerNotLike(String value) {
            addCriterion("`Power` not like", value, "power");
            return (Criteria) this;
        }

        public Criteria andPowerIn(List<String> values) {
            addCriterion("`Power` in", values, "power");
            return (Criteria) this;
        }

        public Criteria andPowerNotIn(List<String> values) {
            addCriterion("`Power` not in", values, "power");
            return (Criteria) this;
        }

        public Criteria andPowerBetween(String value1, String value2) {
            addCriterion("`Power` between", value1, value2, "power");
            return (Criteria) this;
        }

        public Criteria andPowerNotBetween(String value1, String value2) {
            addCriterion("`Power` not between", value1, value2, "power");
            return (Criteria) this;
        }

        public Criteria andLocationIsNull() {
            addCriterion("`Location` is null");
            return (Criteria) this;
        }

        public Criteria andLocationIsNotNull() {
            addCriterion("`Location` is not null");
            return (Criteria) this;
        }

        public Criteria andLocationEqualTo(String value) {
            addCriterion("`Location` =", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotEqualTo(String value) {
            addCriterion("`Location` <>", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationGreaterThan(String value) {
            addCriterion("`Location` >", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationGreaterThanOrEqualTo(String value) {
            addCriterion("`Location` >=", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationLessThan(String value) {
            addCriterion("`Location` <", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationLessThanOrEqualTo(String value) {
            addCriterion("`Location` <=", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationLike(String value) {
            addCriterion("`Location` like", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotLike(String value) {
            addCriterion("`Location` not like", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationIn(List<String> values) {
            addCriterion("`Location` in", values, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotIn(List<String> values) {
            addCriterion("`Location` not in", values, "location");
            return (Criteria) this;
        }

        public Criteria andLocationBetween(String value1, String value2) {
            addCriterion("`Location` between", value1, value2, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotBetween(String value1, String value2) {
            addCriterion("`Location` not between", value1, value2, "location");
            return (Criteria) this;
        }

        public Criteria andNameplateIsNull() {
            addCriterion("Nameplate is null");
            return (Criteria) this;
        }

        public Criteria andNameplateIsNotNull() {
            addCriterion("Nameplate is not null");
            return (Criteria) this;
        }

        public Criteria andNameplateEqualTo(String value) {
            addCriterion("Nameplate =", value, "nameplate");
            return (Criteria) this;
        }

        public Criteria andNameplateNotEqualTo(String value) {
            addCriterion("Nameplate <>", value, "nameplate");
            return (Criteria) this;
        }

        public Criteria andNameplateGreaterThan(String value) {
            addCriterion("Nameplate >", value, "nameplate");
            return (Criteria) this;
        }

        public Criteria andNameplateGreaterThanOrEqualTo(String value) {
            addCriterion("Nameplate >=", value, "nameplate");
            return (Criteria) this;
        }

        public Criteria andNameplateLessThan(String value) {
            addCriterion("Nameplate <", value, "nameplate");
            return (Criteria) this;
        }

        public Criteria andNameplateLessThanOrEqualTo(String value) {
            addCriterion("Nameplate <=", value, "nameplate");
            return (Criteria) this;
        }

        public Criteria andNameplateLike(String value) {
            addCriterion("Nameplate like", value, "nameplate");
            return (Criteria) this;
        }

        public Criteria andNameplateNotLike(String value) {
            addCriterion("Nameplate not like", value, "nameplate");
            return (Criteria) this;
        }

        public Criteria andNameplateIn(List<String> values) {
            addCriterion("Nameplate in", values, "nameplate");
            return (Criteria) this;
        }

        public Criteria andNameplateNotIn(List<String> values) {
            addCriterion("Nameplate not in", values, "nameplate");
            return (Criteria) this;
        }

        public Criteria andNameplateBetween(String value1, String value2) {
            addCriterion("Nameplate between", value1, value2, "nameplate");
            return (Criteria) this;
        }

        public Criteria andNameplateNotBetween(String value1, String value2) {
            addCriterion("Nameplate not between", value1, value2, "nameplate");
            return (Criteria) this;
        }

        public Criteria andValidatecodeIsNull() {
            addCriterion("ValidateCode is null");
            return (Criteria) this;
        }

        public Criteria andValidatecodeIsNotNull() {
            addCriterion("ValidateCode is not null");
            return (Criteria) this;
        }

        public Criteria andValidatecodeEqualTo(String value) {
            addCriterion("ValidateCode =", value, "validatecode");
            return (Criteria) this;
        }

        public Criteria andValidatecodeNotEqualTo(String value) {
            addCriterion("ValidateCode <>", value, "validatecode");
            return (Criteria) this;
        }

        public Criteria andValidatecodeGreaterThan(String value) {
            addCriterion("ValidateCode >", value, "validatecode");
            return (Criteria) this;
        }

        public Criteria andValidatecodeGreaterThanOrEqualTo(String value) {
            addCriterion("ValidateCode >=", value, "validatecode");
            return (Criteria) this;
        }

        public Criteria andValidatecodeLessThan(String value) {
            addCriterion("ValidateCode <", value, "validatecode");
            return (Criteria) this;
        }

        public Criteria andValidatecodeLessThanOrEqualTo(String value) {
            addCriterion("ValidateCode <=", value, "validatecode");
            return (Criteria) this;
        }

        public Criteria andValidatecodeLike(String value) {
            addCriterion("ValidateCode like", value, "validatecode");
            return (Criteria) this;
        }

        public Criteria andValidatecodeNotLike(String value) {
            addCriterion("ValidateCode not like", value, "validatecode");
            return (Criteria) this;
        }

        public Criteria andValidatecodeIn(List<String> values) {
            addCriterion("ValidateCode in", values, "validatecode");
            return (Criteria) this;
        }

        public Criteria andValidatecodeNotIn(List<String> values) {
            addCriterion("ValidateCode not in", values, "validatecode");
            return (Criteria) this;
        }

        public Criteria andValidatecodeBetween(String value1, String value2) {
            addCriterion("ValidateCode between", value1, value2, "validatecode");
            return (Criteria) this;
        }

        public Criteria andValidatecodeNotBetween(String value1, String value2) {
            addCriterion("ValidateCode not between", value1, value2, "validatecode");
            return (Criteria) this;
        }

        public Criteria andUploaddateIsNull() {
            addCriterion("UploadDate is null");
            return (Criteria) this;
        }

        public Criteria andUploaddateIsNotNull() {
            addCriterion("UploadDate is not null");
            return (Criteria) this;
        }

        public Criteria andUploaddateEqualTo(Date value) {
            addCriterion("UploadDate =", value, "uploaddate");
            return (Criteria) this;
        }

        public Criteria andUploaddateNotEqualTo(Date value) {
            addCriterion("UploadDate <>", value, "uploaddate");
            return (Criteria) this;
        }

        public Criteria andUploaddateGreaterThan(Date value) {
            addCriterion("UploadDate >", value, "uploaddate");
            return (Criteria) this;
        }

        public Criteria andUploaddateGreaterThanOrEqualTo(Date value) {
            addCriterion("UploadDate >=", value, "uploaddate");
            return (Criteria) this;
        }

        public Criteria andUploaddateLessThan(Date value) {
            addCriterion("UploadDate <", value, "uploaddate");
            return (Criteria) this;
        }

        public Criteria andUploaddateLessThanOrEqualTo(Date value) {
            addCriterion("UploadDate <=", value, "uploaddate");
            return (Criteria) this;
        }

        public Criteria andUploaddateIn(List<Date> values) {
            addCriterion("UploadDate in", values, "uploaddate");
            return (Criteria) this;
        }

        public Criteria andUploaddateNotIn(List<Date> values) {
            addCriterion("UploadDate not in", values, "uploaddate");
            return (Criteria) this;
        }

        public Criteria andUploaddateBetween(Date value1, Date value2) {
            addCriterion("UploadDate between", value1, value2, "uploaddate");
            return (Criteria) this;
        }

        public Criteria andUploaddateNotBetween(Date value1, Date value2) {
            addCriterion("UploadDate not between", value1, value2, "uploaddate");
            return (Criteria) this;
        }

        public Criteria andVideokeyIsNull() {
            addCriterion("VideoKey is null");
            return (Criteria) this;
        }

        public Criteria andVideokeyIsNotNull() {
            addCriterion("VideoKey is not null");
            return (Criteria) this;
        }

        public Criteria andVideokeyEqualTo(String value) {
            addCriterion("VideoKey =", value, "videokey");
            return (Criteria) this;
        }

        public Criteria andVideokeyNotEqualTo(String value) {
            addCriterion("VideoKey <>", value, "videokey");
            return (Criteria) this;
        }

        public Criteria andVideokeyGreaterThan(String value) {
            addCriterion("VideoKey >", value, "videokey");
            return (Criteria) this;
        }

        public Criteria andVideokeyGreaterThanOrEqualTo(String value) {
            addCriterion("VideoKey >=", value, "videokey");
            return (Criteria) this;
        }

        public Criteria andVideokeyLessThan(String value) {
            addCriterion("VideoKey <", value, "videokey");
            return (Criteria) this;
        }

        public Criteria andVideokeyLessThanOrEqualTo(String value) {
            addCriterion("VideoKey <=", value, "videokey");
            return (Criteria) this;
        }

        public Criteria andVideokeyLike(String value) {
            addCriterion("VideoKey like", value, "videokey");
            return (Criteria) this;
        }

        public Criteria andVideokeyNotLike(String value) {
            addCriterion("VideoKey not like", value, "videokey");
            return (Criteria) this;
        }

        public Criteria andVideokeyIn(List<String> values) {
            addCriterion("VideoKey in", values, "videokey");
            return (Criteria) this;
        }

        public Criteria andVideokeyNotIn(List<String> values) {
            addCriterion("VideoKey not in", values, "videokey");
            return (Criteria) this;
        }

        public Criteria andVideokeyBetween(String value1, String value2) {
            addCriterion("VideoKey between", value1, value2, "videokey");
            return (Criteria) this;
        }

        public Criteria andVideokeyNotBetween(String value1, String value2) {
            addCriterion("VideoKey not between", value1, value2, "videokey");
            return (Criteria) this;
        }

        public Criteria andQrurlIsNull() {
            addCriterion("QRUrl is null");
            return (Criteria) this;
        }

        public Criteria andQrurlIsNotNull() {
            addCriterion("QRUrl is not null");
            return (Criteria) this;
        }

        public Criteria andQrurlEqualTo(String value) {
            addCriterion("QRUrl =", value, "qrurl");
            return (Criteria) this;
        }

        public Criteria andQrurlNotEqualTo(String value) {
            addCriterion("QRUrl <>", value, "qrurl");
            return (Criteria) this;
        }

        public Criteria andQrurlGreaterThan(String value) {
            addCriterion("QRUrl >", value, "qrurl");
            return (Criteria) this;
        }

        public Criteria andQrurlGreaterThanOrEqualTo(String value) {
            addCriterion("QRUrl >=", value, "qrurl");
            return (Criteria) this;
        }

        public Criteria andQrurlLessThan(String value) {
            addCriterion("QRUrl <", value, "qrurl");
            return (Criteria) this;
        }

        public Criteria andQrurlLessThanOrEqualTo(String value) {
            addCriterion("QRUrl <=", value, "qrurl");
            return (Criteria) this;
        }

        public Criteria andQrurlLike(String value) {
            addCriterion("QRUrl like", value, "qrurl");
            return (Criteria) this;
        }

        public Criteria andQrurlNotLike(String value) {
            addCriterion("QRUrl not like", value, "qrurl");
            return (Criteria) this;
        }

        public Criteria andQrurlIn(List<String> values) {
            addCriterion("QRUrl in", values, "qrurl");
            return (Criteria) this;
        }

        public Criteria andQrurlNotIn(List<String> values) {
            addCriterion("QRUrl not in", values, "qrurl");
            return (Criteria) this;
        }

        public Criteria andQrurlBetween(String value1, String value2) {
            addCriterion("QRUrl between", value1, value2, "qrurl");
            return (Criteria) this;
        }

        public Criteria andQrurlNotBetween(String value1, String value2) {
            addCriterion("QRUrl not between", value1, value2, "qrurl");
            return (Criteria) this;
        }

        public Criteria andDevicetypeIsNull() {
            addCriterion("DeviceType is null");
            return (Criteria) this;
        }

        public Criteria andDevicetypeIsNotNull() {
            addCriterion("DeviceType is not null");
            return (Criteria) this;
        }

        public Criteria andDevicetypeEqualTo(Integer value) {
            addCriterion("DeviceType =", value, "devicetype");
            return (Criteria) this;
        }

        public Criteria andDevicetypeNotEqualTo(Integer value) {
            addCriterion("DeviceType <>", value, "devicetype");
            return (Criteria) this;
        }

        public Criteria andDevicetypeGreaterThan(Integer value) {
            addCriterion("DeviceType >", value, "devicetype");
            return (Criteria) this;
        }

        public Criteria andDevicetypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("DeviceType >=", value, "devicetype");
            return (Criteria) this;
        }

        public Criteria andDevicetypeLessThan(Integer value) {
            addCriterion("DeviceType <", value, "devicetype");
            return (Criteria) this;
        }

        public Criteria andDevicetypeLessThanOrEqualTo(Integer value) {
            addCriterion("DeviceType <=", value, "devicetype");
            return (Criteria) this;
        }

        public Criteria andDevicetypeIn(List<Integer> values) {
            addCriterion("DeviceType in", values, "devicetype");
            return (Criteria) this;
        }

        public Criteria andDevicetypeNotIn(List<Integer> values) {
            addCriterion("DeviceType not in", values, "devicetype");
            return (Criteria) this;
        }

        public Criteria andDevicetypeBetween(Integer value1, Integer value2) {
            addCriterion("DeviceType between", value1, value2, "devicetype");
            return (Criteria) this;
        }

        public Criteria andDevicetypeNotBetween(Integer value1, Integer value2) {
            addCriterion("DeviceType not between", value1, value2, "devicetype");
            return (Criteria) this;
        }

        public Criteria andPortcountIsNull() {
            addCriterion("PortCount is null");
            return (Criteria) this;
        }

        public Criteria andPortcountIsNotNull() {
            addCriterion("PortCount is not null");
            return (Criteria) this;
        }

        public Criteria andPortcountEqualTo(Integer value) {
            addCriterion("PortCount =", value, "portcount");
            return (Criteria) this;
        }

        public Criteria andPortcountNotEqualTo(Integer value) {
            addCriterion("PortCount <>", value, "portcount");
            return (Criteria) this;
        }

        public Criteria andPortcountGreaterThan(Integer value) {
            addCriterion("PortCount >", value, "portcount");
            return (Criteria) this;
        }

        public Criteria andPortcountGreaterThanOrEqualTo(Integer value) {
            addCriterion("PortCount >=", value, "portcount");
            return (Criteria) this;
        }

        public Criteria andPortcountLessThan(Integer value) {
            addCriterion("PortCount <", value, "portcount");
            return (Criteria) this;
        }

        public Criteria andPortcountLessThanOrEqualTo(Integer value) {
            addCriterion("PortCount <=", value, "portcount");
            return (Criteria) this;
        }

        public Criteria andPortcountIn(List<Integer> values) {
            addCriterion("PortCount in", values, "portcount");
            return (Criteria) this;
        }

        public Criteria andPortcountNotIn(List<Integer> values) {
            addCriterion("PortCount not in", values, "portcount");
            return (Criteria) this;
        }

        public Criteria andPortcountBetween(Integer value1, Integer value2) {
            addCriterion("PortCount between", value1, value2, "portcount");
            return (Criteria) this;
        }

        public Criteria andPortcountNotBetween(Integer value1, Integer value2) {
            addCriterion("PortCount not between", value1, value2, "portcount");
            return (Criteria) this;
        }

        public Criteria andCredentialsIsNull() {
            addCriterion("Credentials is null");
            return (Criteria) this;
        }

        public Criteria andCredentialsIsNotNull() {
            addCriterion("Credentials is not null");
            return (Criteria) this;
        }

        public Criteria andCredentialsEqualTo(String value) {
            addCriterion("Credentials =", value, "credentials");
            return (Criteria) this;
        }

        public Criteria andCredentialsNotEqualTo(String value) {
            addCriterion("Credentials <>", value, "credentials");
            return (Criteria) this;
        }

        public Criteria andCredentialsGreaterThan(String value) {
            addCriterion("Credentials >", value, "credentials");
            return (Criteria) this;
        }

        public Criteria andCredentialsGreaterThanOrEqualTo(String value) {
            addCriterion("Credentials >=", value, "credentials");
            return (Criteria) this;
        }

        public Criteria andCredentialsLessThan(String value) {
            addCriterion("Credentials <", value, "credentials");
            return (Criteria) this;
        }

        public Criteria andCredentialsLessThanOrEqualTo(String value) {
            addCriterion("Credentials <=", value, "credentials");
            return (Criteria) this;
        }

        public Criteria andCredentialsLike(String value) {
            addCriterion("Credentials like", value, "credentials");
            return (Criteria) this;
        }

        public Criteria andCredentialsNotLike(String value) {
            addCriterion("Credentials not like", value, "credentials");
            return (Criteria) this;
        }

        public Criteria andCredentialsIn(List<String> values) {
            addCriterion("Credentials in", values, "credentials");
            return (Criteria) this;
        }

        public Criteria andCredentialsNotIn(List<String> values) {
            addCriterion("Credentials not in", values, "credentials");
            return (Criteria) this;
        }

        public Criteria andCredentialsBetween(String value1, String value2) {
            addCriterion("Credentials between", value1, value2, "credentials");
            return (Criteria) this;
        }

        public Criteria andCredentialsNotBetween(String value1, String value2) {
            addCriterion("Credentials not between", value1, value2, "credentials");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("Remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("Remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("Remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("Remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("Remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("Remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("Remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("Remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("Remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("Remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("Remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("Remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("Remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("Remark not between", value1, value2, "remark");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}